<?php

namespace app\api\controller\server;

use app\api\controller\Controllers;
use app\api\service\server\Tencentcloud as TencentcloudService;

class Tencentcloud extends Controllers
{

    /**
     * 获取腾讯云授权数据
     * @param TencentcloudService $service
     * @return string
     */
    public function getAuthorization(TencentcloudService $service)
    {
        return json($service->getAuthorization());
    }

}
